<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>在线翻译 </title>
		<link rel="stylesheet" type="text/css" href="css/style.css"/>
	</head>
	<body>
		<header>
			<h1>翻译</h1>
			<p>中英互译</p>
		</header>
		<div class="main">
			<div class="container">
				<div class="top clearfix">
					<div class="left clearfix">
						<button class="c5 wu" style="background: #5aaaff;">中文</button>
						<button class="c5 wp" style="background: #dddddd;">英语</button>
					</div>
					<div class="center">
						<button id="c3" onclick="col()">↔</button>
					</div>
					<div class="right clearfix">
						<button class="c5 wu" style="background: #5aaaff;">英语</button>
						<button class="c5 wp" style="background: #ddd;">中文</button>
					</div>
				</div>
				<div class="center clearfix">
					<form class="clearfix" action="">
						<textarea name="" rows="" cols="" id="w1"></textarea>
						<textarea name="" rows="" cols="" id="w2" placeholder="翻译"></textarea>
						<span onclick="zhToEn()" class="btn1">翻译</span>
						<span onclick="zhTozh()" class="btn1 btn2">翻译</span>
					</form>
				</div>
			</div>
		</div>
	<script src="js/script.js"></script>
	</body>
</html>
